package com.cskaoyan.catmall.model.bo;

import lombok.Data;

/**
 * 创建日期: 2022-01-07-22-03
 * author : LL
 * description:
 */
@Data
public class InsertAdBo {
    private String content;
    private boolean enable;
    private String link;
    private Integer position;
    private String url;
    private Integer enableNum;

    public void setEnable(boolean enable) {
//        this.enable = enable;
        if (enable){
            this.enableNum = 1;
        }else this.enableNum = 0;
    }
}